package com.zzyy.study.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @auther zzyy
 * @create 2024-03-13 11:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BizException extends RuntimeException {

    /**
     * 错误码
     */
    private String errorCode;

    /**
     * 自定义错误信息
     */
    private String errorMsg;

}
